]> dgit.raspbian.org Git - gnome-shell.git/commit
panel-button: Set ':active' pseudo class when menu is open
authorFlorian Müllner <fmuellner@gnome.org>
Tue, 8 Feb 2011 18:46:05 +0000 (19:46 +0100)
committerFlorian Müllner <fmuellner@gnome.org>
Wed, 9 Feb 2011 17:10:25 +0000 (18:10 +0100)
commit445038545870241315bdfd4465c815fe388e575e
treed86ef6f0f5d8cbbe5c0fc7f8a4a05f81cd82df60
parent1f154f66383ce5b333bca26029707c5c2477374c
panel-button: Set ':active' pseudo class when menu is open

Commit c86a977564e5 removed :pressed from the list of styles which
highlight panel buttons, so the button highlight is now lost when
mousing over menu items. This is not the behavior we want, the
buttons should keep their highlight while being "active". Rather
than adding back the pseudo class to the CSS, let buttons use the
:active pseudo class when the menu is open, which makes more sense
than :pressed anyway.
js/ui/panelMenu.js